.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }


  .section{
    margin: 110/$f+vw 200/$f+vw 200/$f+vw 200/$f+vw;
    display: flex;
    justify-content:space-between;
    .l{
      width: 280/$f+vw;
      .types{
        width: 100%;
        .p1{
          color: #FB0000;
          font-size:0.9vw;
          font-weight: bold;
          border-bottom: 3px solid #FB0000;
          padding: 10/$f+vw 0;
        }
        .list{
          .item{
            margin-top: 16/$f+vw;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #D9D9D9;
            padding: 16/$f+vw 0;
            cursor: pointer;
            transition: all 600ms;
            p{
              color: #666;
              font-size:0.9vw;
              transition: all 600ms;
            }
            svg{
              path{
                fill: rgba(102, 102, 102, 1);
                transition: all 600ms;
              }
            }
            &:hover{
              border-color: rgba(251, 0, 0, 1);
              p{
                color:rgba(251, 0, 0, 1);
              }
              svg{
                path{
                  fill: rgba(251, 0, 0, 1);
                }
              }
            }
          }
          .on{
            border-color: rgba(251, 0, 0, 1);
            p{
              color:rgba(251, 0, 0, 1);
            }
            svg{
              path{
                fill: rgba(251, 0, 0, 1);
              }
            }
          }
        }
      }
    }
    .r{
      width: 1089/$f+vw;
      .dt{
        position: relative;
        .pt{
          color: #161616;
          font-size: 28/$f+vw;
          line-height: 1.25;
          margin-bottom: 23/$f+vw;
        }
        .tags{
          display: flex;
          border-bottom: 1px solid #E8E8E8;
          padding-bottom: 20/$f+vw;
          .tag{
            font-size: 14/$f+vw;
            color: #333;
            display: flex;
            span{
              color: #666;
              margin: 0 15/$f+vw;
            }
          }
        }
        .back{
          position: absolute;
          right:0;
          top:0;
          svg{
            width: 42/$f+vw;
            display: block;
          }
        }
      }
      .des{
        color: #333;
        font-size: 14/$f+vw;
        line-height: 2.28;
        margin: 15/$f+vw 0 23/$f+vw 0;
      }
      .content{
        .sw1 {
          .pic {
            img{
              width: 100%;
              display: block;
            }
          }
        }
        .sw2{
          margin-top: 40/$f+vw;
          .pic{
            cursor: pointer;
            img{
              width: 100%;
              display: block;
              height: 168/$f+vw;
              object-fit: cover;
            }
          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
    }

    .section {
      margin: 30px 5% 60px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .types{
          .p1{
            padding: 15px 0;
            font-size: 18px;
          }
          .list{
            .item{
              padding: 15px 0;
              p{
                font-size: 18px;
              }
            }
          }
        }
      }
      .r{
        width: 100%;
        margin-top: 30px;
        .dt{
          .pt{
            font-size: 18px;
            margin-bottom: 10px;
          }
          .tags{
            padding-bottom: 15px;
            .tag{
              font-size: 14px;
              span{
                margin: 0 10px;
              }
            }
          }
          .back{
            svg{
              width: 20px;
            }
          }
        }
        .des{
          margin: 15px 0 30px 0;
          font-size: 14px;
          line-height: 1.8;
        }
        .content{
          .sw2{
            .pic{
              img{
                height: 100px;
              }
            }
          }
        }
      }
    }
  }
}